package org.jeecg.modules.demo.orderInfo.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 以利沙获取的订单出入库信息
 * @Author: jeecg-boot
 * @Date:   2025-08-19
 * @Version: V1.0
 */
@Data
@TableName("orderinfo")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="以利沙获取的订单出入库信息")
public class Orderinfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
	/**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private java.lang.String sysOrgCode;
	/**生产日期*/
	@Excel(name = "生产日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "生产日期", defaultValue = "2025-01-01 00:00:00", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.util.Date productionDate;
	/**采购订单行号*/
	@Excel(name = "采购订单行号", width = 15)
    @Schema(description = "采购订单行号" ,defaultValue = "GW202451354", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.String purchaseOrderLineNumber;
	/**物料编码*/
	@Excel(name = "物料编码", width = 15)
    @Schema(description = "物料编码" ,defaultValue = "GW202451354", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.String materialCode;
	/**物料名称*/
	@Excel(name = "物料名称", width = 15)
    @Schema(description = "物料名称",defaultValue = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.String materialName;
	/**采购订单数量*/
	@Excel(name = "采购订单数量", width = 15)
    @Schema(description = "采购订单数量",defaultValue = "100", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.Integer purchaseOrderQuantity;
	/**已入库*/
	@Excel(name = "已入库", width = 15)
    @Schema(description = "已入库",defaultValue = "100", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.Integer incomingQuantity;
	/**出库*/
	@Excel(name = "出库", width = 15)
    @Schema(description = "出库",defaultValue = "100", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.Integer outboundQuantity;
	/**测试数量*/
	@Excel(name = "测试数量", width = 15)
    @Schema(description = "测试数量",defaultValue = "100", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.Integer numberOfTests;
	/**测试不良数量*/
	@Excel(name = "测试不良数量", width = 15)
    @Schema(description = "测试不良数量",defaultValue = "100", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.Integer numberOfDefectsTested;
	/**外观检验数量*/
	@Excel(name = "外观检验数量", width = 15)
    @Schema(description = "外观检验数量",defaultValue = "100", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.Integer quantityOfVisualInspection;
	/**外观不良数量*/
	@Excel(name = "外观不良数量", width = 15)
    @Schema(description = "外观不良数量",defaultValue = "100", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.Integer numberOfBadAppearance;
	/**直通率*/
	@Excel(name = "直通率", width = 15)
    @Schema(description = "直通率",defaultValue = "75.25%", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.String passRate;

    /**采购订单*/
    @Excel(name = "采购订单", width = 15)
    @Schema(description = "采购订单",defaultValue = "GW202451354", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.String purchaseOrder;


    /**采购订单*/
    @Excel(name = "数据来源", width = 15)
    @Schema(description = "数据来源",defaultValue = "飞毛腿", requiredMode = Schema.RequiredMode.REQUIRED)
    private java.lang.String resource;
}
